const menuNav = [
  {
    key: '',
    name: 'index',
    path: '/',
    component: 'BasicLayout',
    meta: {
      title: '首页'
    },
    redirect: '/people',
    children: [
      {
        name: 'attendance',
        meta: {
          icon: 'file-protect',
          title: '考勤管理'
        },
        component: 'BlankLayout',
        redirect: '/attendance/statisticalData',
        key: 'attendance',
        children: [
          {
            name: 'statisticalData',
            path: '/attendance/statisticalData',
            meta: {
              title: '考勤汇总'
            },
            component: 'StatisticalData',
            key: 'statisticalData'
          },
          {
            name: 'dailyStatistics',
            path: '/attendance/dailyStatistics',
            meta: {
              title: '日统计明细'
            }, 
            component: 'DailyStatistics',
            key: 'dailyStatistics'
          },
          {
            name: 'entryAndExitRecords',
            path: '/attendance/entryAndExitRecords',
            meta: {
              title: '进出记录'
            },
            component: 'EntryAndExitRecords',
            key: 'EntryAndExitRecords'
          },
          // {
          //   name: 'attendanceConvertExcel',
          //   path: '/attendance/convertExcel',
          //   meta: {
          //     title: '转换格式'
          //   },
          //   component: 'AttendanceConvertExcel',
          //   key: 'AttendanceConvertExcel'
          // },
          // {
          //   name: 'attendanceSpecialStaff',
          //   path: '/attendance/specialStaff',
          //   meta: {
          //     title: '特殊员工'
          //   },
          //   component: 'AttendanceSpecialStaff',
          //   key: 'attendanceSpecialStaff'
          // },
         
          // {
          //   name: 'specialDailyStatistics',
          //   path: '/attendance/specialDailyStatistics',
          //   meta: {
          //     title: '特殊考勤日统计'
          //   },
          //   component: 'SpecialDailyStatistics',
          //   key: 'SpecialDailyStatistics'
          // },
        ]
      },
      {
        name: 'people',
        meta: {
          icon: 'user',
          title: '人员管理'
        },
        component: 'BlankLayout',
        redirect: '/people/peopleList',
        key: 'people',
        children: [
          {
            name: 'peopleList',
            path: '/people/peopleList',
            meta: {
              title: '人员管理'
            },
            component: 'PeopleList',
            key: 'PeopleList'
          },
          {
            name: 'workList',
            path: '/people/workList',
            meta: {
              title: '工种管理'
            },
            component: 'WorkList',
            key: 'WorkList'
          }
        ]
      },
      {
        name: 'plan',
        meta: {
          icon: 'schedule',
          title: '排班管理'
        },
        component: 'BlankLayout',
        redirect: '/plan/usersList',
        key: 'plan',
        children: [
          {
            name: 'attendanceShiftSetting',
            path: '/attendance/shiftSetting',
            meta: {
              title: '班次设置'
            },
            component: 'AttendanceShiftSetting',
            key: 'AttendanceShiftSetting'
          },
          {
            name: 'attendanceCrewRostering',
            path: '/attendance/crewRostering',
            meta: {
              title: '人员班次'
            },
            component: 'AttendanceCrewRostering',
            key: 'AttendanceCrewRostering'
          },
          {
            name: 'attendanceShiftScheduling',
            path: '/attendance/shiftScheduling',
            meta: {
              title: '轮班排班'
            },
            component: 'AttendanceShiftScheduling',
            key: 'AttendanceShiftScheduling'
          },
          {
            name: 'batchPlan',
            path: '/plan/batchPlan',
            meta: {
              title: '批量排班'
            },
            component: 'BatchPlan',
            key: 'batchPlan'
          },
          {
            name: 'usersList',
            path: '/plan/usersList',
            meta: {
              title: '员工排班计划'
            },
            component: 'UsersList',
            key: 'userList'
          },
          {
            name: 'planList',
            path: '/plan/planList',
            meta: {
              title: '排班计划',
              hidden: true
            },
            component: 'PlanList',
            key: 'planList'
          },
          {
            name: 'batchSetting',
            path: '/plan/batchSetting',
            meta: {
              title: '排班设置'
            },
            component: 'BatchSetting',
            key: 'BatchSetting'
          },
          // {
          //   name: 'specialPlanSetting',
          //   path: '/plan/specialPlanSetting',
          //   meta: {
          //     title: '特殊考勤设置'
          //   },
          //   component: 'SpecialPlanSetting',
          //   key: 'SpecialPlanSetting'
          // },
        ]
      },
      {
        name: 'manager',
        meta: {
          icon: 'team',
          title: '系统管理'
        },
        component: 'BlankLayout',
        redirect: '/manager/managerList',
        key: 'manager',
        children: [
          {
            name: 'managerList',
            path: '/manager/managerList',
            meta: {
              title: '用户管理'
            },
            component: 'ManagerList',
            key: 'ManagerList'
          },
          {
            name: 'menuList',
            path: '/manager/menuList',
            meta: {
              title: '菜单管理'
            },
            component: 'MenuList',
            key: 'MenuList'
          }
        ]
      },
    ]
  }
]
export default menuNav
